print('-----------')

print(10*'-')

def func(content, str, length):
    def line():
        print(str * length)
        print(str * (length // 2) + content + str * (length // 2))
    return line
 
func('闭包', '-', 18)()

